/**
*The abstraction of a css2 simple selection list
- *as defined by the right part of the "selector" production in the
+ *as defined by the right part of the "selector" production in the
*appendix D.1 of the css2 spec.
*It is basically a list of simple selector, each
*simple selector being separated by a combinator.
*
- *In the libcroco's implementation, each simple selector
+ *In the libcroco's implementation, each simple selector
*is made of at most two parts:
*
*1/An element name or 'type selector' (which can hold a '*' and
CRSimpleSel * cr_simple_sel_new (void) ;
-CRSimpleSel * cr_simple_sel_append_simple_sel (CRSimpleSel *a_this,
+CRSimpleSel * cr_simple_sel_append_simple_sel (CRSimpleSel *a_this,
CRSimpleSel *a_sel) ;
-CRSimpleSel * cr_simple_sel_prepend_simple_sel (CRSimpleSel *a_this,
+CRSimpleSel * cr_simple_sel_prepend_simple_sel (CRSimpleSel *a_this,
CRSimpleSel *a_sel) ;
guchar * cr_simple_sel_to_string (CRSimpleSel const *a_this) ;
enum CRStatus cr_simple_sel_dump (CRSimpleSel const *a_this, FILE *a_fp) ;
-enum CRStatus cr_simple_sel_dump_attr_sel_list (CRSimpleSel const *a_this) ;
-
enum CRStatus cr_simple_sel_compute_specificity (CRSimpleSel *a_this) ;
void cr_simple_sel_destroy (CRSimpleSel *a_this) ;
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
- *
+ *
* Author: Dodji Seketeli
* See COPYRIGHTS file for copyright information.
*/
struct _CRStatement ;
/*
- *typedef struct _CRStatement CRStatement ;
- *this is forward declared in
+ *typedef struct _CRStatement CRStatement ;
+ *this is forward declared in
*cr-declaration.h already.
*/
/**A list of instances of #CRDeclaration*/
CRDeclaration *decl_list ;
-
+
/**
*The parent media rule, or NULL if
*no parent media rule exists.
struct _CRAtMediaRule
{
GList *media_list ;
- CRStatement *rulesets ;
+ CRStatement *rulesets ;
} ;
*applications that use libcroco.
*libcroco itself will never modify
*this pointer.
- */
+ */
gpointer app_data ;
/**
enum CREncoding a_encoding) ;
CRStatement*
cr_statement_new_ruleset (CRStyleSheet *a_sheet,
- CRSelector *a_sel_list,
+ CRSelector *a_sel_list,
CRDeclaration *a_decl_list,
CRStatement *a_media_rule) ;
CRStatement *
enum CREncoding a_encoding) ;
enum CRStatus
-cr_statement_set_parent_sheet (CRStatement *a_this,
+cr_statement_set_parent_sheet (CRStatement *a_this,
CRStyleSheet *a_sheet) ;
enum CRStatus
-cr_statement_get_parent_sheet (CRStatement *a_this,
+cr_statement_get_parent_sheet (CRStatement *a_this,
CRStyleSheet **a_sheet) ;
CRStatement *
CRStatement *
cr_statement_at_media_get_from_list (CRStatement *a_this, int itemnr) ;
-enum CRStatus
-cr_statement_at_page_rule_set_sel (CRStatement *a_this,
- CRSelector *a_sel) ;
-
-enum CRStatus
-cr_statement_at_page_rule_get_sel (CRStatement const *a_this,
- CRSelector **a_sel) ;
-
enum CRStatus
cr_statement_at_page_rule_set_declarations (CRStatement *a_this,
CRDeclaration *a_decl_list) ;
void
cr_statement_dump_import_rule (CRStatement const * a_this, FILE * a_fp,
- gulong a_indent) ;
+ gulong a_indent) ;
void
cr_statement_dump_charset (CRStatement const * a_this, FILE * a_fp,
gulong a_indent) ;